package com.iona.dao;

import java.util.List;

import com.iona.domain.Purview;

public class PurviewDAO extends BaseDAO {

	public List<Purview> findAll() {
		return getSession().createCriteria(Purview.class).list();
	}

	public Purview findById(Integer id) {
		return (Purview) getSession().load(Purview.class, id);
	}

}
